package com.zimmur.model.goods;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 商品收藏
 * @author Administrator
 *
 */
public class GoodsCollect {
	@JsonIgnore
	private Long collectId;
	private Integer createDate;
	private Long goodsId;
	private Long userId;
	private Integer status;//0/取消收藏;1/收藏
	private Integer updateDate=0;
	
	public Long getCollectId() {
		return collectId;
	}
	public void setCollectId(Long collectId) {
		this.collectId = collectId;
	}
	public Integer getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Integer createDate) {
		this.createDate = createDate;
	}
	public Long getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(Long goodsId) {
		this.goodsId = goodsId;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Integer updateDate) {
		this.updateDate = updateDate;
	}
	
	@Override
	public String toString() {
		return "GoodsCollect [collectId=" + collectId + ", createDate=" + createDate + ", goodsId=" + goodsId
				+ ", userId=" + userId + ", status=" + status + ", updateDate=" + updateDate + "]";
	}
	 
}
